package com.l_abstract;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2024/4/15 16:37
 */
public class TestMain {
    public static void main(String[] args) {
//        Teacher t = new Teacher("lucy", 18);
        Teacher t = new Teacher();
        t.setName("lucy");
        t.setAge(18);
        System.out.println("老师:" + t.getName() + "!年龄:" + t.getAge());

    }
}
